package com.deryun.tyl.dao.impl;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;

import com.deryun.tyl.bean.Platform;
import com.deryun.tyl.bean.mapper.PlatformMapper;

public class PlatformDaoImpl extends SqlSessionDaoSupport{
	
	@Autowired
	private PlatformMapper platformMapper;
	
	public int updatePlatform(Platform platform){
		return platformMapper.updatePlatform(platform);
	}
	
	public Platform getPlatform(){
		return platformMapper.getPlatform();
	}
}
